package com.ruoyi.web.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 短信发送记录对象 sms_send_record
 *
 * @date 2023-03-28
 */
@Data
public class SmsSendRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 数量
     */
    @Excel(name = "数量")
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer num;

    /**
     * 成功数量
     */
    @Excel(name = "成功数量")
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer successNum;

    /**
     * 消息
     */
    @Excel(name = "消息")
    private String message;

    /**
     * 状态（0处理中、1已完成）
     */
    @Excel(name = "状态", readConverterExp = "0=处理中、1已完成")
    private String status;

    /**
     * 是否删除（0否、null是）
     */
    @Excel(name = "是否删除", readConverterExp = "0=否、null是")
    private String isDeleted;
}
